package io.renren.modules.oatools.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 字段
 *
 * @author xhtang 173101649@qq.com
 * @since 1.0.0 2024-06-15
 */
@Data
@Schema(name = "字段")
public class FieldsDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "ID")
	private Integer id;

	@SchemaProperty(name = "父ID")
	private Integer pid;

	@SchemaProperty(name = "接口ID")
	private Integer invokeId;

	@SchemaProperty(name = "目标-字段")
	private String targetFields;

	@SchemaProperty(name = "目标-类型")
	private String targetType;

	@SchemaProperty(name = "目标-默认值")
	private String targetDefault;

	@SchemaProperty(name = "目标-说明")
	private String targetComment;

	@SchemaProperty(name = "传递-表")
	private String transmitTable;

	@SchemaProperty(name = "传递-表名")
	private String transmitTableName;

	@SchemaProperty(name = "传递-字段")
	private String transmitFields;

	@SchemaProperty(name = "传递-字段名")
	private String transmitFieldsName;

	@SchemaProperty(name = "传递-类型")
	private String transmitType;

	@SchemaProperty(name = "传递说明")
	private String transmitComment;

	@SchemaProperty(name = "传递类型")
	private String replaceTypeGroovy;

	@SchemaProperty(name = "是否删除")
	private Integer isDel;

	@SchemaProperty(name = "创建时间")
	private Date createDate;

	@SchemaProperty(name = "修改时间")
	private Date updateDate;


}